aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatModulesTests]/[method:canSerializeModuleWithFunctionImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
blob: 41e847fc11b3cfebcd1c167e2fd5ba4ca13e3fb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module.wasm:	file format wasm 0x1

Section Details:

Type[2]:
 - type[0] () -> nil
 - type[1] (i32) -> nil
Import[2]:
 - func[0] sig=0 <Identifier1> <- ModuleName1.EntityName1
 - func[1] sig=1 <Identifier2> <- ModuleName2.EntityName2
Custom:
 - name: "linking"
  - symbol table [count=2]
   - 0: F <Identifier1> func=0 [ undefined explicit_name binding=global vis=default ]
   - 1: F <Identifier2> func=1 [ undefined explicit_name binding=global vis=default ]
Custom:
 - name: "name"
 - func[0] <Identifier1>
 - func[1] <Identifier2>

Code Disassembly: